﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EF.Model.Base
{
    public class UserModel
    {
        private int? _user_id;
        private string _user_name;
        private string _password;
        private string _real_name;
        private int? _sex;
        private string _id_number;
        private string _mobile_phone;
        private string _phone;

        private int? _role;

        private int? _status;
        private int? _sort_index;
        private int? _create_user;
        private DateTime? _create_time;
        private int? _update_user;
        private DateTime? _update_time;

        /// <summary>
        /// 用户Id
        /// </summary>
        public int? UserId
        {
            get { return _user_id; }
            set { _user_id = value; }
        }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            get { return _user_name; }
            set { _user_name = value; }
        }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }


        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName
        {
            get { return _real_name; }
            set { _real_name = value; }
        }

        /// <summary>
        /// 性别
        /// </summary>
        public int? Sex
        {
            get { return _sex; }
            set { _sex = value; }
        }

        /// <summary>
        /// 身份证号码
        /// </summary>
        public string IdNumber
        {
            get { return _id_number; }
            set { _id_number = value; }
        }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string MobilePhone
        {
            get { return _mobile_phone; }
            set { _mobile_phone = value; }
        }

        /// <summary>
        /// 固定电话
        /// </summary>
        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        /// <summary>
        /// 角色
        /// </summary>
        public int? Role
        {
            get { return _role; }
            set { _role = value; }
        }

        /// <summary>
        /// 状态(1,未删除; 0,已删除)
        /// </summary>
        public int? Status
        {
            get { return _status; }
            set { _status = value; }
        }

        /// <summary>
        /// 排序
        /// </summary>
        public int? SortIndex
        {
            get { return _sort_index; }
            set { _sort_index = value; }
        }

        public int? CreateUser
        {
            get { return _create_user; }
            set { _create_user = value; }
        }

        public DateTime? CreateTime
        {
            get { return _create_time; }
            set { _create_time = value; }
        }

        public int? UpdateUser
        {
            get { return _update_user; }
            set { _update_user = value; }
        }

        public DateTime? UpdateTime
        {
            get { return _update_time; }
            set { _update_time = value; }
        }
    }
}
